<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead">
            <em>多表格</em>
            用于展示在一个页面展示多个表格数据,并且每次切换时刷新
        </div>
        <ul class="nav nav-tabs">
            <li class="active"><a href="#first" data-toggle="tab">区域学校送样书</a></li>
            <li><a href="#second" data-toggle="tab">图书经理送样积分</a></li>
            <li><a href="#tree" data-toggle="tab">零售店建设</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="first">
                <div id="toolbar1" class="toolbar">
                    {:build_toolbar('refresh')}
                    {if $BookManagerRow}
                    <a href="javascript:;" class="btn btn-success  btn-bookmanageredit {:$auth->check('integral/manager/bookmanager/bookmanageredit')?'':'hide'}" title="编辑关注人数/拍照数"><i class="fa fa-pencil"></i> 编辑关注人数/拍照数</a>
                    {else}
                    <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('integral/manager/bookmanager/add')?'':'hide'}" title="{:__('添加关注人数/拍照数')}" ><i class="fa fa-plus"></i> {:__('添加关注人数/拍照数')}</a>
                    {/if}
                    <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('integral/manager/bookmanager/import')?'':'hide'}" title="{:__('Teachdr_tel_import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Teachdr_tel_import')}</a>
                    <a href="/assets/excel/图书经理数据导入示例下载.xls" class="btn btn-info btn-import" download="图书经理数据导入示例下载.xls">导入示例下载</a>
                </div>
                <table id="table1" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
            <div class="tab-pane fade" id="second">
                <div id="toolbar2" class="toolbar">
                    {:build_toolbar('refresh')}
                    <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('integral/fixednumber/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                    <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('integral/fixednumber/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                    <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('integral/fixednumber/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                </div>
                <table id="table2" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
            <div class="tab-pane fade" id="tree">
                <div id="toolbar3" class="toolbar">
                    {:build_toolbar('refresh')}
                    <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('integral/bookstore/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                    <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('integral/bookstore/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                    <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('integral/bookstore/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                    <!--<a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('integral/bookstore/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>-->
                    <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('integral/bookstore/export')?'':'hide'}" title="{:__('Export')}" id="btn-export-file"><i class="fa fa-download"></i> {:__('Export')}</a>

                </div>
                <table id="table3" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
        </div>
    </div>
</div>
<script>
    var week_ids = '{$ids}';
</script>